package com.aoxun.common.persistence.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.aoxun.common.persistence.model.DictionaryConfig;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
  * 车票订单 Mapper 接口
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-21
 */
public interface DictionaryConfigMapper extends BaseMapper<DictionaryConfig> {
	
	public List<DictionaryConfig> selectList(DictionaryConfig vo);

	/**
	 * 根据key修改
	 * @param key
	 * @param value
	 * @return
	 */
	int updateValueByKey(@Param("key") String key, @Param("value") String value);

	/**
	 * 根据key查询
	 * @param key
	 * @return
	 */
	DictionaryConfig selectByKey(@Param("key") String key);
}
